package itheima2.Kaoshi;

import java.util.Random;
import java.util.Scanner;

public class asdfgh {
    public static void main(String[] args) {
        Random ra = new Random();
        Scanner sc = new Scanner(System.in);
        System.out.println("开始操作");
        int a = ra.nextInt(99)+1;
        System.out.println(a);
        while (true) {
            int b = sc.nextInt();
            if (b < a) {
                System.out.println("猜小了");
            } else if (b > a) {
                System.out.println("猜大了");
            } else {
                System.out.println("牛逼");
                break;
            }
        }
    }
}